home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / winchan < prev    next >
Text File  |  2001-03-21  |  709b  |  23 lines

  1. Synopsis:
  2.    $chanwin(<window refnum/name>|<channel>)
  3.    $winchan(<window refnum/name>|<channel>)
  4.  
  5. Technical:
  6.    These functions are identical. They return one of either a window refnum
  7.    or a channel name based on the arguments passed.
  8.  
  9. Returns:
  10.    window refnum where <channel> resides if <channel> was passed
  11.      or
  12.    name of the current channel in <window refnum/name> if a window was passed
  13.  
  14. Examples:
  15.    /window refnum 2;/join #epic
  16.    eval echo $winchan(2)                   /* returns #epic */
  17.    eval echo $winchan(#epic)               /* returns 2 */
  18.  
  19. Other Notes:
  20.    These functions were once separate, but caused much confusion based on
  21.    their name in early versions of EPIC4.
  22.  
  23.